<?php
$login = VariablesGlobales::$unUser->login;
$password = VariablesGlobales::$unUser->password;
$dateInscription = VariablesGlobales::$unUser->dateInscription;
$rang = VariablesGlobales::$unUser->rang;
$idUser = VariablesGlobales::$unUser->id;
?>

<div class="container">
    <div class="row">
        <div class="col-md-5  toppad  pull-right col-md-offset-3 ">
            <br>
        </div>
        <div class="col-xs-12 col-sm-12 col-md-6 col-lg-6 col-xs-offset-0 col-sm-offset-0 col-md-offset-3 col-lg-offset-3 toppad" >


            <div class="panel panel-info">
                <div class="panel-heading">
                    <h3 class="panel-title">Modification du profil</h3>
                </div>
                <div class="panel-body">
                    <div class="row">
                        <div class="col-md-3 col-lg-3 " align="center"> <img alt="User Pic" src="https://lh5.googleusercontent.com/-b0-k99FZlyE/AAAAAAAAAAI/AAAAAAAAAAA/eu7opA4byxI/photo.jpg?sz=100" class="img-circle"> </div>

                        <!--<div class="col-xs-10 col-sm-10 hidden-md hidden-lg"> <br>
                          <dl>
                            <dt>DEPARTMENT:</dt>
                            <dd>Administrator</dd>
                            <dt>HIRE DATE</dt>
                            <dd>11/12/2013</dd>
                            <dt>DATE OF BIRTH</dt>
                               <dd>11/12/2013</dd>
                            <dt>GENDER</dt>
                            <dd>Male</dd>
                          </dl>
                        </div>-->
                        <div class=" col-md-9 col-lg-9 "> 
                            <form action="?controleur=User&action=modifierUser" method="POST">
                                <table class="table table-user-information">

                                    <tbody>
                                        <tr>
                                            <td>Login</td>
                                            <td><input type="text" name="login" value="<?php echo $login; ?>" /></td>
                                        </tr>
                                        <tr>
                                            <td>Mot de passe</td>
                                            <td><input type="text" name="password" value="<?php echo $password; ?>"</td>
                                            <td><input type="hidden" name="rang" value="<?php echo $rang; ?>"</td>
                                            <td><input type="hidden" name="id" value="<?php echo $idUser; ?>"</td>
                                        </tr>
                                        <tr>
                                            <td>Date d'inscription</td>
                                            <td><?php echo $dateInscription; ?></td>
                                        </tr>
                                    </tbody>

                                </table>
                                <input class="col-lg-12 btn btn-primary" type="submit" class="col-lg-12" name="valider" value="Modifier" />
                            </form>
                        </div>
                    </div>
                </div>
                <div class="panel-footer">
                    <span class="pull-right">

                    </span>
                </div>

            </div>
        </div>
    </div>
</div>